package org.cuit.echo.seon;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-10
 */
// 子系统1：灯光系统
class Light {
    public void on() {
        System.out.println("灯光打开");
    }

    public void off() {
        System.out.println("灯光关闭");
    }

    public void dim() {
        System.out.println("灯光调暗");
    }
}

// 子系统2：音响系统
class SoundSystem {
    public void on() {
        System.out.println("音响打开");
    }

    public void setVolume(int level) {
        System.out.println("音量设置为 " + level);
    }

    public void off() {
        System.out.println("音响关闭");
    }
}

// 子系统3：投影仪
class Projector {
    public void on() {
        System.out.println("投影仪打开");
    }

    public void off() {
        System.out.println("投影仪关闭");
    }

    public void setInput(String source) {
        System.out.println("投影仪输入源设置为: " + source);
    }
}
